import 'package:flutter_rider/module/login/models/user_model.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';


final userModelProvider = StateNotifierProvider<UserModelProvider,UserModel>((ref) {
  return UserModelProvider();
});

class UserModelProvider  extends StateNotifier<UserModel> {
  UserModelProvider() : super(UserModel(0,"",0,"","","","",[],null));

  setUserModel(UserModel userModel) {
    // userModel.avatar = "https://stream-blog.s3.amazonaws.com/blog/wp-content/uploads/fc148f0fc75d02841d017bb36e14e388/Stream-logo-with-background-.png";
    state = userModel;
  }

}
